<?php if(!defined("HDPHP_PATH"))exit;C("SHOW_NOTICE",FALSE);?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
        <head>
                <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
                <title></title>
                <link rel="stylesheet" href="http://localhost/shopFrame/Application/Admin/View/Public/Css/bootstrap.min.css" />
                <link rel="stylesheet" href="http://localhost/shopFrame/Application/Admin/View/Public/Css/common.css" />
        </head>
        <body>
                <form action="" method='post'>
                        <div class="container-fluid">
                                <div class="row-fluid">
                                        <div class="span12">
                                                <fieldset>
                                                        <legend>添加商品分类</legend> 
                                                        <table class="table table-bordered table-hover">

                                                                <tr class="info">
                                                                        <td>所属类型</td>
                                                                        <td>
                                                                                <input type="hidden" name="type_tid"  value="<?php echo $data['tid'];?>"/>
                                                                                                <span><?php echo $data['tname'];?></span>
                                                                        </td>
                                                                </tr>
                                                                <tr class="info">
                                                                        <td>所属分类</td>
                                                                        <td>
                                                                                <input type="hidden" name="pid" value="<?php echo $cateNow['cid'];?>" />
                                                                                        <span><?php echo $cateNow['cname'];?></span>
                                                                        </td>
                                                                </tr>
                                                                <tr class="info">
                                                                        <td>分类名称</td>
                                                                        <td>
                                                                                <input type="text" name='cname'/>
                                                                        </td>
                                                                </tr>
                                                                <tr class="info">
                                                                        <td>排序</td>
                                                                        <td>
                                                                                <input type="text" name='sort' value='100'/>
                                                                        </td>
                                                                </tr>
                                                                <tr>
                                                                        <td colspan="2" align="center">
                                                                                <input type="submit" value="添加分类" class="btn btn-primary" />
                                                                        </td>
                                                                </tr>
                                                        </table>
                                                </fieldset>
                                        </div>
                                </div>
                        </div>
                </form>
        </body>
</html>